#include "stdio.h"
#include "string.h"

int a()
{
    static int i =0;
    if(i>=1)
    {
        return ++i;
    }
    return i++;
}

int main()
{
    int A1 = 0;
    int A2 = 0;
    int A3 = 0;

    A1 = a();
    A2 = a();
    A3 = a();

    printf("%d,%d,%d\n",A1,A2,A3);
    getchar();
    return 0;
}
